<%@ page language="java" contentType="text/html; charset=UTF-8" %>
<%@ include file="/jsplib/pubhead.jsp"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<title>${myfn:getGroupName(theForm.qryGroupID)}_部落成员</title>
	<link href="${cpath}/css/youlin.css" rel="stylesheet" type="text/css" media="all" />
</head>
<body>
<!--外套 start -->
<div class="wrap">
  <!--页首 start -->
	<%@ include file="/menu.jsp"%>
  <!--页首 end -->  
  
  <!--导航面包屑 start -->
  <div class="breadCrumb">
  <div class="breadCrumbNav">当前位置：<a href="${cpath}/users.do?action=main">我的主页</a> >> <a href="${cpath}/group_get/groupID_${theForm.qryGroupID}.html">部落</a> </div>
	<%@ include file="/navf.jsp"%> 
 </div> 
  <!--导航面包屑 end -->
  
  <!--主体 start -->
 <div class="body">
 
  <div class="hotBox1">  
    <div class="hotBox1-left">
      <a href="${cpath}/group_get/groupID_${theForm.qryGroupID}.html"><img src="${cpath}/${myfn:getGroupPic(theForm.qryGroupID)}"  width="75" height="75" class="shequ icon user_icon_2"></a>
      <p class="nav"><a href="${cpath}/group_get/groupID_${theForm.qryGroupID}.html">${myfn:getGroupName(theForm.qryGroupID)}</a> >> 部落成员</p>
      </div>
    <div class="hotBox1-right">
      <p><a href="javascript:history.go(-1);"><img src="${cpath}/images/icon_32.gif" width="137" height="25" /></a></p>
    </div>
  </div> 

 <div class="left-Box6">
  <h3>部落成员</h3>
  <div class="left-Box6-content">
  <form action="${cpath}/gmember.do" name="theForm"  method="post" enctype="multipart/form-data" >
   <div class="left-Box6-content-inner">
     <div class="left-Box7">
        <p class="left-Box7-top2">部落成员<span class="more3">&nbsp;</span></p>
        <div class="left-Box7-content left-Box7-bm">
		<ul>
		<c:forEach var="member" items="${memberlist}" varStatus="status"> 
        <li>
          <p>
		  <a class="pic2" href="${cpath}/users_home/userID_${member.userID}.html" target="_blank"><b></b><img src="${cpath}/${myfn:getUserPic(member.userID)}" width="48" height="48"   border="0"/></a>
		  </p>
          <p>${myfn:getUserNick(member.userID)}</p>
			<p class='info'>
			<c:if test="${myfn:isGroupManager(member.groupID,userID) && (member.type  ==  2 || member.type  ==  3)}">
			<a href="${cpath}/gmember_move/groupID_${member.groupID}_userID_${member.userID}.html"><img src="${cpath}/images/icon_04.gif" title="踢出" /></a>
			</c:if>
			<c:if test="${myfn:isGroupManager(member.groupID,userID) && (member.type  ==  3)}">
			&nbsp;&nbsp;<a href="${cpath}/gmember_update/groupID_${member.groupID}_userID_${member.userID}_type_2.html"><img src="${cpath}/icon/contact_grey_add.png" title="设为管理者" /></a>
			</c:if>
			<c:if test="${myfn:isGroupManager(member.groupID,userID) && (member.type  ==  2)}">
			&nbsp;&nbsp;<a href="${cpath}/gmember_update/groupID_${member.groupID}_userID_${member.userID}_type_3.html"><img src="${cpath}/icon/contact_grey_remove.png" title="撤销管理员身份" /></a>
			</c:if>
			
			</p>
        </li>
		</c:forEach>
        </ul>      
        <div class="clearFloat"></div>
        </div>
     </div>
     <div class="left-Box7">
		<input type="hidden" name='qryGroupID' value='${theForm.qryGroupID}'/>
		<input type="hidden" name='qryUserID' value='${theForm.qryUserID}'/>
		<!-- 分页主键 formName字段当前的form名称 -->
		<%@ include file="/jsplib/page.jsp" %>
		<!--隐藏域-->
		<input type="hidden" name='action' value='list'/>	 
	 </div>
  </div>        
  <div class="clearFloat"></div>
  </div>
</form>

</div>
  
    <div class="clearFloat"></div>
 </div> 
 <!--主体 end -->
 
 
 <!--页脚 start -->
	<%@ include file="/foot.jsp"%>
 <!--页脚 end --> 
</div>
<!--外套 end -->

</body>
</html>
<script>

    /**
     * 检查项目资料维护
     */
	function doConfirm()
	{
		var form = document.theForm;

		var action = form['action'];

		form.submit();
	}
</script>